<!DOCTYPE html>
<html lang="en-gb" dir="ltr">

    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>Datepicker - UIkit tests</title>
        <script src="../../../vendor/jquery.js"></script>
        <script src="_test.js"></script>
        <script src="../../js/addons/datepicker.js"></script>
        <script src="../../js/addons/form-select.js"></script>
    </head>

    <body>

        <div class="uk-container uk-container-center">

            <h1>Datepicker</h1>

            <form class="uk-form">

                <div class="uk-form-row">
                    <label class="uk-form-label" for="form-date">Date</label>
                    <div class="uk-form-controls">
                        <input type="text" id="form-date" data-uk-datepicker="{format:'DD.MM.YYYY'}">
                    </div>
                </div>

                <div class="uk-form-row">
                    <label class="uk-form-label" for="form-date">Date</label>
                    <div class="uk-form-controls">
                        <input type="text" data-uk-datepicker="{format:'DD.MM.YYYY', minDate:0, maxDate:7}">
                        <p class="uk-form-help-block">Only allowed current date + 7 days</p>
                    </div>
                </div>

                <div class="uk-form-row">
                    <label class="uk-form-label" for="form-date">Date</label>
                    <div class="uk-form-controls">
                        <input type="text" data-uk-datepicker="{format:'DD.MM.YYYY', minDate:0, maxDate:'31.12.2015'}">
                        <p class="uk-form-help-block">Only allowed current date + until 31.12.2015</p>
                    </div>
                </div>

            </form>

        </div>

    </body>
</html>